package com.sinacom.ibuilding.dao.iface;

import java.util.List;
import java.util.Map;

import com.sinacom.ibuilding.beans.Member;
import com.sinacom.ibuilding.beans.Role;


public interface MemberDao {

	
	public List getMemberList(Map map);
	
	public List getCatgoryMember(Map map);
	
	public int getMemberListCount(Map map);
	
	public void insertMember(Member member);
	
	public void updateMember(Member member);
	
	public void deleteMember(Map map);
	
	public List getRole(Map map);
	
	public void updateRole(Role role)throws Exception;
	
	public void insertRole(Role role)throws Exception;
	
	public void deleteRole(Map map)throws Exception;
	
	public List getContacts(Map map);
	
	public void insertMemberRole(Map map)throws Exception;
	
	public void deleteMemberRole(Map map)throws Exception;
}
